package dbms.ypr.user;

import java.io.Serializable;
import java.util.List;

/**
 * @author wsdaoy
 * @date 2023/1/2
 **/
public class DataBasePermissions  implements Serializable {

    private static final long serialVersionUID = 1L;

    private String databaseName;

    private List<String> permissions;

    public DataBasePermissions() {
    }

    public DataBasePermissions(String databaseName) {
        this.databaseName = databaseName;
    }

    public DataBasePermissions(String databaseName, List<String> permissions) {
        this.databaseName = databaseName;
        this.permissions = permissions;
    }

    public String getDatabaseName() {
        return databaseName;
    }

    public void setDatabaseName(String databaseName) {
        this.databaseName = databaseName;
    }

    public List<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<String> permissions) {
        this.permissions = permissions;
    }
}
